import QtQuick 2.0
import QtQuick.Controls 1.2

FocusScope{    

    property alias text: textinput.text
    property alias input: textinput

    Rectangle {
        id: rectangle
        anchors.fill: parent

        border.color: "black"
        border.width: 2
        TextInput{
            id: textinput
            anchors.fill: parent
            anchors.margins: 2
            verticalAlignment: Qt.AlignVCenter
            focus: true
        }
    }
}
